FROM openjdk:8

MAINTAINER yaxt@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /jeecg-cloud-nacos

WORKDIR /yaxt-cloud-nacos


EXPOSE 8848

ADD ./target/pps-cloud-nacos-3.0.0.jar ./

CMD sleep 5;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar pps-cloud-nacos-3.0.0.jar